/**
 * <p>Title: SignatureDefinitionDao</p>
 * <p>Description: 签名定义管理dao接口</p>
 * <p>Copyright: Baosight Software LTD.co Copyright (c) 2016</p>
 * <p>Company: Baosight Software</p>
 * @author Huang Zhong wei & Chen Wei
 * @version 1.0
 * <pre>Histroy:
 *       2016-10-10  Huang Zhong wei  Create
 *</pre>
*/
package cn.jhg.account.persist;

import java.util.List;

import cn.jhg.account.entity.SignatureDefinition;

public interface SignatureDefinitionDao {
	/**
	 * <p>addSignatureDefinition</p>
	 * @param signatureDefinition
	 * @return int
	 */
	public int addSignatureDefinition(SignatureDefinition signatureDefinition);
	/**
	 * <p>querySignatureDefinition查询</p>
	 * @param id
	 * @return SignatureDefinition
	 */
	public SignatureDefinition querySignatureDefinition(int id);
	/**
	 * <p>deleteSignatureDefinition</p>
	 * @param id
	 * @return int
	 */
	public int deleteSignatureDefinition(int id);
	/**
	 * <p>findByName查询</p>
	 * @param name
	 * @return SignatureDefinition
	 */
	public SignatureDefinition findByName(String name);
	/**
	 * <p>findByMid查询</p>
	 * @param mid
	 * @return SignatureDefinition
	 */
	public SignatureDefinition findByMid(int mid);
	/**
	 * <p>获取所有签名含义 id</p>
	 * @return set<Integer>
	 */
	public List<Integer>  getAllSignatureMeanings();
	/**
	 * <p>根据 id 获取签名含义</p>
	 * @param id	签名含义  id
	 * @return  签名含义
	 */
	public String getSignatureById(int id);
}
